package com.java.support.orther;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration
@PropertySource("classpath:ortherConfig.properties")
public class OrtherConfigure {

	@Bean
//	@ConfigurationProperties(prefix = "orther",locations = "classpath:ortherConfig.properties")
	@ConfigurationProperties(prefix = "orther")
	public OrtherData getOrtherData(){
		return new OrtherData();
	}
}
